package com.lingyu.pojo;

public class User {
    private Integer userId;

    private String userName;

    private String userPsd;

    private String photo;
    
    private Prasie prasie;
    
    public User() {
	}
    public User(Integer userId) {
		super();
		this.userId = userId;
	}

	public Prasie getPrasie() {
		return prasie;
	}
	public void setPrasie(Prasie prasie) {
		this.prasie = prasie;
	}
	public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getUserPsd() {
        return userPsd;
    }

    public void setUserPsd(String userPsd) {
        this.userPsd = userPsd == null ? null : userPsd.trim();
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo == null ? null : photo.trim();
    }
    
    
	@Override
	public String toString() {
		return "User [userId=" + userId + ", userName=" + userName + ", userPsd=" + userPsd + ", photo=" + photo
				+ ", prasie=" + prasie + "]";
	}

	
    
}